﻿using System;
using System.Collections.Generic;
using System.Text;
using Evaluant.OPath.Expressions;

namespace Evaluant.OPath
{
    public class OPathOQuery : OPathQuery
    {
        public OPathOQuery(Path path)
        {
            Path = path;
        }

        public OPathOQuery(Call expression)
        {
            Expression = expression;
        }

        public override void Compile(bool optimize)
        {
            compiled = true;
            base.Compile(optimize);
        }
    }
}
